package com.woniu.order;

import javax.persistence.Id;
import javax.persistence.Table;

/**
 * @author 杨光 微信号:tolryg
 * @time 14:13
 */
@Table(name="tb_order_seat")
public class OrderSeat {

    @Id
    private Long id;//` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '主键',
    private Long orderId;//` bigint(20) NOT NULL COMMENT '订单id',
    private Long seatId;//` int(8) DEFAULT NULL COMMENT '座位id',


    public OrderSeat() {
    }

    public OrderSeat(Long orderId, Long seatId) {
        this.orderId = orderId;
        this.seatId = seatId;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getOrderId() {
        return orderId;
    }

    public void setOrderId(Long orderId) {
        this.orderId = orderId;
    }

    public Long getSeatId() {
        return seatId;
    }

    public void setSeatId(Long seatId) {
        this.seatId = seatId;
    }
}
